Update gtkpopcountprivate.h: undefined macro outside msvc
authorSebastian Cherek <scherek@outlook.com>
Sat, 12 Jun 2021 17:35:13 +0000 (17:35 +0000)
committerSebastian Cherek <scherek@outlook.com>
Sat, 12 Jun 2021 17:35:13 +0000 (17:35 +0000)
gtk/gtkpopcountprivate.h

index e0eeb3fdf873f46f39abb3a035990ec22eb7cfe7..d2dff5199050b98d8f8a8d5185dc3738462bd47a 100644 (file)
@@ -20,7 +20,7 @@
 
 #pragma once
 
-#if (_MSC_VER && !_M_ARM && !_M_ARM64) && (__AVX__ || __SSE4_2__ || __POPCNT__)
+#if (defined(_MSC_VER) && !_M_ARM && !_M_ARM64) && (__AVX__ || __SSE4_2__ || __POPCNT__)
 #include <intrin.h>
 
 static inline guint